From 37cad95c68a65d00cb05dd667b8faedf5d514d8d Mon Sep 17 00:00:00 2001 From: Agustin Martin Date: Mon, 5 Nov 2012 17:32:35 +0100 Subject: [PATCH] ispell.el (ispell-program-name): Update spellchecker parameters when customized. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/ispell.el | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 00d6fffc525..5e1a6196844 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-11-05 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-program-name): Update + spellchecker parameters when customized. + 2012-11-04 Glenn Morris * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index d591dc5fa85..de60ac37d9e 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -357,6 +357,10 @@ Must be greater than 1." "ispell") "Program invoked by \\[ispell-word] and \\[ispell-region] commands." :type 'string + :set (lambda (symbol value) + (set-default symbol value) + (if (featurep 'ispell) + (ispell-set-spellchecker-params))) :group 'ispell) (defcustom ispell-alternate-dictionary -- 2.30.2